//
//  XH_UIMacroFile.h
//  BeiJingSunYiYYDoc
//
//  Created by rzhy on 2017/12/27.
//  Copyright © 2017年 com.RZHY.YongDingYYPub. All rights reserved.
//
#import <UIKit/UIKit.h>
#ifndef UI_XHMacroFile_h
#define UI_XHMacroFile_h


#pragma mark - 简便
#define Current_ViewController      [XHTools getCurrentVC]


#pragma mark - 账号相关
//极光
#define JPush_AppKey  @"14ee35c6e88fb74bde44d4f3"


#pragma mark - 用户相关
#define UserID  [XHTools userID]
#define UserName [XHTools userName]
#define UserToken [XHTools selfToken]


#pragma mark - size 尺寸
#define kScreenWidth    [[UIScreen mainScreen] bounds].size.width
#define kScreenHeight   [[UIScreen mainScreen] bounds].size.height
//状态栏(statusbar)
#define rectStatus      [[UIApplication sharedApplication] statusBarFrame]
#define StatusBar_Height    CGRectGetHeight(rectStatus)
// 导航栏（navigationbar）
#define Nav_Height      44.f
//TabBar
#define TabBar_Height   (iPhoneX ? 83.f : 49.f)



#pragma mark - color 颜色
#define Color_RGB(r,g,b,a)   [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
#define RGBColor(r,g,b)     Color_RGB(r,g,b,1)
//主题颜色
#define ThemeColor Color_RGB(91,101,155,1)
//正文内容文字颜色
#define MainTextColor   Color_RGB(55,55,56,1)
//正文提示文字颜色
#define PointTextColor   Color_RGB(190,190,196,1)
//所有页面底色
#define XHBackGroundColor   Color_RGB(247,247,247,1)
//无效时的颜色
#define XGUnEnabledColor   Color_RGB(190,190,190,1)
//所有分割线颜色
#define SplitLineColor    Color_RGB(248,248,248,1)
//随机颜色
#define RandomColor      RGBColor(arc4random()%255, arc4random()%255, arc4random()%255)



#pragma mark - deBug 调试
#if DEBUG
#define XHLog(...) NSLog(__VA_ARGS__);
static BOOL const isRelease = NO;
#else
#define XHLog(...)
static BOOL const isRelease = YES;
#endif



#endif /* XH_UIMacroFile_h */
